package com.atguigu.blog.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("")
public class LoginController {

    /**
     * 登陆页
     * @return
     */
    @RequestMapping(value = {"/login", "/login.html"}, method = {RequestMethod.GET, RequestMethod.POST})
    public String login() {
        return "login";
    }

}
